html, body, h1, h2, h3, h4, h5, h6, p, ul, li, input, button, textarea, section {
  margin: 0;
  padding: 0;
}

html, body {
  -webkit-user-select: none;
  user-select: none;
  overflow-x: hidden;
  font-size: 14px;
}

html {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  font-size: 14px;
}

body {
  overflow-x: hidden;
  background-color: #FFF;
  -webkit-tap-highlight-color: transparent;
  -webkit-overflow-scrolling: touch;
}

body, input, button, textarea {
  font-family: "Helvetica Neue", Helvetica, STHeiTi, sans-serif;
  font-size: 0.28rem;
  border: none;
  outline: none;
}

a, img {
  -webkit-touch-callout: none;
}

ul, ol, li {
  list-style: none;
}

img {
  max-width: 100%;
}

.none {
  display: none;
}

.hidden {
  visibility: hidden;
}

.clearfix {
  content: ' ';
  display: block;
  clear: both;
  overflow: hidden;
}

.f-l {
  float: left;
}

.f-r {
  float: right;
}

[class^="i-"],
[class^="icon-"] {
  display: inline-block;
  vertical-align: middle;
}

.icons-sprite, .icon-cart, .icon-house {
  background-image: url('../img/sprites-icons.png');
  background-repeat: no-repeat;
}

.icon-cart {
  background-position: 0 0;
  height: 42px;
  width: 44px;
}

.icon-house {
  background-position: 0 -44px;
  height: 43px;
  width: 46px;
}

.icon-cart {
  -webkit-background-size: 23px 44px;
  background-size: 23px 44px;
  width: 22px;
  height: 21px;
  background-position: 0 0;
}

.icon-house {
  -webkit-background-size: 23px 44px;
  background-size: 23px 44px;
  width: 23px;
  height: 22px;
  background-position: 0 -22px;
}


.ellipsis{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ellipsis-2{
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box; /** 对象作为伸缩盒子模型显示 **/
  -webkit-box-orient: vertical; /** 设置或检索伸缩盒对象的子元素的排列方式 **/
  -webkit-line-clamp: 2; /** 显示的行数 **/
  word-break: break-all;
  width: 100%;
}
